<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
// 登录模块
Route::group('user',[
   'login'=>['api/User/login','method'=>'post'], // 登录
   'register'=>['api/User/registe','method'=>'post'], // 注册
   'third_bind'=>['api/User/third_bind','method'=>'post'], // 第三方绑定
   'bindtel'=>['api/User/bindTel','method'=>'post'], // 绑定电话号码
   'ishastel'=>['api/User/ishasTel','method'=>'post'], //
   'setpassword'=>['api/User/setPassword','method'=>'post'],
   'userreset'=>['api/User/iuserReset','method'=>'post'],
   'sendverify'=>['api/User/sendverify','method'=>'post'],
]);


return [
    //别名配置,别名只能是映射到控制器且访问时必须加上请求的方法
    '__alias__'   => [
    ],
    //变量规则
    '__pattern__' => [
    ],
//        域名绑定到模块
//        '__domain__'  => [
//            'admin' => 'admin',
//            'api'   => 'api',
//        ],
];
